/* /////////////////////////////////////// */
/* ------ COMMON STYLES FOR BUTTONS ------ */
/* /////////////////////////////////////// */

/* ----- Defaults styles for button ----- */

input[type=button], input[type=submit],
 a.button, span.button,
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit] {
    background-color: #e0121d;
    border: none;
    color: #fff;
    display: inline-block;
    font-size: 15px;
    line-height: 18px;
    font-weight: 400;
    position: relative;
    text-transform: none;
    text-align: center;
    padding: 9px 18px;
    box-sizing: border-box;
}

/* ----- .primary button ----- */
input[type=button].primary,
input[type=submit].primary,
button,
button.button,
.woocommerce button,
.woocommerce-page button,
.woocommerce button.button,
.woocommerce-page button.button,
a.button.primary,
button.button.primary,
#back-top a,
span.button.primary,
.gform_wrapper .gform_footer input[type=submit] {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    background-color: #E0121D;
    color: #FFFFFF;
    border: none;
    box-shadow: none;
}

input[type=button].primary:hover,
input[type=submit].primary:hover,
button:hover,
button.button:hover,
.woocommerce button:hover,
.woocommerce-page button:hover,
.woocommerce button.button:hover,
.woocommerce-page button.button:hover,
a.button.primary:hover,
button.button.primary:hover,
#back-top a:hover,
span.button.primary:hover,
.gform_wrapper .gform_footer input[type=submit]:hover {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    background-color: rgba(224, 18, 29, 0.8);
    text-decoration: none;
    box-shadow: none;
}

input[type=button].primary:active,
input[type=button]:active,
input[type=submit].primary:active,
input[type=submit]:active,
a.button.primary:active,
button.button.primary:active,
#back-top a:active,
span.button.primary:active,
.gform_wrapper .gform_footer input[type=submit]:active {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    background-color: #ba1525;
    color: #F48B94;
    text-decoration: none;
    box-shadow: none;
}

/* ----- .bordered button ----- */
input[type=button].secondary,
input[type=submit].secondary,
a.button.secondary,
button.button.secondary,
span.button.secondary {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    background-color: #fff;
    color: #e0121d;
    border: 1px solid #e0121d;
}

input[type=button].secondary:hover,
input[type=submit].secondary:hover,
a.button.secondary:hover,
button.button.secondary:hover,
span.button.secondary:hover {
    background-color: #e0121d;
    color: #fff;
    text-decoration: none;
    box-shadow: none;
}

input[type=button].secondary:active,
input[type=submit].secondary:active,
a.button.secondary:active,
button.button.secondary:active,
span.button.secondary:active {
    background-color: #fff;
    color: #F48B94;
    text-decoration: none;
    box-shadow: none;
}

/* ----- .normal button ----- */
input[type=button].normal,
input[type=submit].normal,
a.button.normal,
button.button.normal,
span.button.normal {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    background-color: #29313b;
    color: #fff;
}

input[type=button].normal:hover,
input[type=submit].normal:hover,
a.button.normal:hover,
button.button.normal:hover,
span.button.normal:hover {
    background-color: rgba(41, 49, 59, .8);
    color: #fff;
    text-decoration: none;
    box-shadow: none;
}

input[type=button].normal:active,
input[type=submit].normal:active,
a.button.normal:active,
button.button.normal:active,
span.button.normal:active {
    background-color: #1f252c;
    color: #8C8F93;
    text-decoration: none;
    box-shadow: none;
}

/* ----- .learn-more button ----- */
input[type=button].learn-more,
input[type=submit].learn-more,
a.button.learn-more,
button.button.learn-more,
span.button.learn-more {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    background-color: #fff;
    color: #e0121d;
}

input[type=button].learn-more:hover,
input[type=submit].learn-more:hover,
a.button.learn-more:hover,
button.button.learn-more:hover,
span.button.learn-more:hover {
    background-color: #e0121d;
    color: #fff;
    text-decoration: none;
    box-shadow: none;
}

input[type=button].learn-more:active,
input[type=submit].learn-more:active,
a.button.learn-more:active,
button.button.learn-more:active,
span.button.learn-more:active {
    background-color: #ba1525;
    color: #F48B94;
    text-decoration: none;
    box-shadow: none;
}

.hentry .button {
    margin: 5px;
}

/* ----- Download grey button ----- */
.button.download {
    position: relative;
}
.button.download:after {
    display: inline-block;
    font-family: 'FontAwesome';
    content: '\f019';
    font-size: 24px;
    vertical-align: middle;
    padding-left: 10px;
}

/* ----- Download alone (no text-only icon) ----- */
.button.download.alone {
    padding:0;
    width: 50px;
    height: 35px;
    text-align: center;
}
.button.download.alone:after {
    display: block;
    position: absolute;
    margin: auto;
    padding: 0;
    height: 17px;
    width: 24px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}


.button.download.alone.sandclock:after {
    height: 19px;
    width: 20px;
    content: '\f254';
}

/* ----- can't download button ----- */
.logged-download.not-logged > .button.assets-download,
.logged-download.not-logged > .button.assets-download:hover,
.logged-download .button.cant-download,
.logged-download .button.cant-download:hover {
    color: #ccc;
    border: 1px solid #eee;
    background-color: #fff;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.event-registration-page #content-page {
    padding: 25px;
}

a.button.contact-btn-custom {
    padding: 15px 30px;
}

#back-top a, #back-top a:hover {
    padding: 5px 16px;
    color: #FFFFFF;
    display: block;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
}

a.button-block,
input[type=button].button-block,
input[type=submit].button-block{
    display: block;
    text-align:center;
}
